package com.kclm.dao.impl;

import com.kclm.dao.UserDao;
import com.kclm.pojo.User;

/**
 * @Author : lvhx
 * @Date: 2025/10/31 10:14
 * @Description:
 */
public class UserDaoImpl  implements UserDao {
    public User selectById(Integer id) {
        System.out.println("根据idc查询用户信息~~~~");
        return new User(1, "张三", "123456");
    }

    @Override
    public int insert(User user) {
        System.out.println("添加一个用户~~~");
        return 1;
    }
}
